Skip to main content

itemPointer

Type

property

Summary

It's a pointer to tell the itemContent property about which item to act on.

Syntax

set the itemPointer of widget to <integer>
get the itemPointer of widget

Description

Use the itemPointer property to tell the itemContent property which item to act on. If itemPointer property has not been defined by the user it will return the item index under the mouse cursor.

Examples

on mouseUp pButtonNumber
local tItemContent

set the itemPointer of widget"PolyList" to 1
put the itemContent of widget"PolyList" into tItemContent
put "ok" into tItemContent["icon"]
set the itemContent of widget"PolyList" to tItemContent
end mouseUp